package com.caigou.mapper.cms;

import com.caigou.bean.cms.entity.Lesson;
import com.caigou.bean.cms.param.LessonQueryParam;

import java.util.List;

public interface LessonMapper {
    Lesson selectByPrimaryKey(int id);
    int insertSelective(Lesson lesson);
    int getCountBySpanId(int spanId);
    List<Lesson> queryLesson(LessonQueryParam param);
    int updateLesson(Lesson lesson);
    int getCountByProcessStatus(int processStatus);
}
